home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_09_03 / 9n03119b < prev    next >
Text File  |  1991-01-15  |  287b  |  21 lines

  1.  
  2. /*
  3.  * ln_seq.h - line number sequence interface
  4.  */
  5.  
  6. class ln_seq
  7.     {
  8. public:
  9.     ln_seq();
  10.     void add(unsigned n);
  11.     void print();
  12. private:
  13.     struct listnode
  14.         {
  15.         unsigned number;
  16.         listnode *next;
  17.         };
  18.     listnode *first;
  19.     };
  20.  
  21.